package com.support.annotation;

import com.support.config.RateLimiterImportBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author youshang
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(RateLimiterImportBeanDefinitionRegistrar.class)
public @interface EnableRateLimiter {
    /**
     * 扫描路径
     *
     * @return
     */
    boolean proxyTargetClass() default false;
}
